<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="images/css.css" rel="stylesheet" type="text/css" />
<title>预览</title>
<style type="text/css">
<!--
.STYLE1 {
	color: #ABA89F;
	font-weight: bold;
	font-size: 14;
}
.STYLE3 {font-size: 14}
.STYLE4 {
	color: #ABA89F;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<s:if test="mubanMsg.manageMsgDetails !=null && mubanMsg.manageMsgDetails.size()>0">
<table width="757" height="923" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr>	
			<td colspan="10" align="center" style="height: 80px;"><b>${mubanMsg.title }</b></td>
		</tr>
		<s:iterator value="mubanMsg.manageMsgDetails" var="item" status="st">
		<s:if test="#st.index%3==0">
			<tr>
		</s:if>
		<!-- 一帧 -->
		<td valign="top">
		<table cellspacing="0" cellpadding="0" border="0" width="216" height="424" align="center">
	        <tbody><tr>
	          <td align="center" width="216" valign="top" height="424"><table cellspacing="0" cellpadding="0" border="0" width="206" height="424">
	            <tbody><tr>
	              <td height="55" colspan="3"><img width="217" height="75" src="images/z_top.jpg"></td>
	            </tr>
	            <tr>
	              <td width="19" height="273"><img width="18" height="275" src="images/z_left.jpg"></td>
	              <td width="182" valign="top"><table cellspacing="0" cellpadding="0" border="0" align="center" width="181"  >
	                  <tbody><tr>
	                    <td width="185" height="140">
	                    	<s:if test="#item==null || #item.pic==null || #item.pic==''">
	                    		<img width="181" height="153" src="images/default_msg_pic.jpg">
	                    	</s:if>
	                    	<s:else>
	                    		<img  width="181" height="153" src="<s:property value="#item.pic"/>" />
	                    	</s:else>
	                    </td>
	                  </tr>
	                  <tr>
	                    <td height="117">
	                    <s:if test="#item==null || #item.txt == null || #item.txt==''">
                    		<textarea style="border:0px; height:115px;  width:181px; color:#000000;"  readonly="readonly" cols="30" name="grjj">彩信文字内容</textarea>
                    	</s:if>
                    	<s:else>
		                    <textarea  readonly="readonly" style="border:0px; height:115px;  width:181px; color:#000000;" cols="30" name="grjj"><s:property value="#item.txt"/></textarea>
	                    </s:else>
	                    
		          </td>
	                  </tr>
	              </tbody></table></td>
	              <td width="16"><img width="16" height="275" src="images/z_right.jpg"></td>
	            </tr>
	            <tr>
	              <td height="74" colspan="3"><img width="217" height="74" src="images/z_end.jpg"></td>
	            </tr>
	          </tbody></table></td>
	        </tr>
	      </tbody>
		</table>
		</td>
		<s:if test="#st.index%3=0">
			</tr>
		</s:if>
		</s:iterator>
	</tr>
</table>

</s:if>
<s:else>
	<div align="center">该模板没有帧信息</div>
</s:else>

</body>
</html>
